﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Netfraction.Network.Protocol
{
    public abstract class ProtocolMessageExtension
    {
        public abstract void Handler();
    }

    [global::System.AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
    public class MessageExtensionAttribute : Attribute
    {
        public MessageExtensionAttribute()
        {
        }

        public string MessageName { get; set; }
        public int ExtensionType { get; set; }
    }
}
